|
|
|
|
|
|
|
class instance, named theApplication for example, invokes the addTrans2MemLog method of the theAppTransactions object. When a user requests a connection to the database, the controller class of the form invokes the addTrans2MemLog method as well. At any time your client has trouble with the application, for instance, invoke the showLog method of the theAppTransactions object. |
|
|
|
|
|
|
|
|
Figure 14.2.
Typical sequence of events for logging application transactions and
memory allocations. |
|
|
|
|
|
|
|
|
Modeling the Internal Application Manager Subsystem Class |
|
|
|
|
|
|
|
|
The class model is exactly the same as Figure 14.1. There are no special accommodations for any application. |
|
|
|
|
|
|
|
|
The methods of the CApplication class include the following: |
|
|
|
|
|